%%% Defining model specification 

global model_mn fnames_ path_ mprior datasel msel psel 
 
%  MODEL_MN
model_mn = 'infsv';

fnames_.global = [model_mn '_global'];	% m-file: list of global variables
fnames_.pnames = [model_mn '_pnames'];	% m-file: parameter names
fnames_.prior  = [model_mn '_prior'];	% m-file: load prior specfication
fnames_.prtr   = [model_mn '_prtr'];	% m-file: information on parameter transformation
fnames_.psel   = [model_mn '_psel'];	% m-file: parameter selection

datasel = 1;
mprior  = 2;    % different models of trend 
msel    = mprior; 
 

%  DATASEL
%   1  raw inflation series 
%   2  inflation series detrended by survey data 


if datasel==1
   dataselstr = ['d1'];
elseif datasel==2
   dataselstr = ['d2'];
elseif datasel==3 
   dataselstr = ['d3'];
elseif datasel ==4 
   dataselstr = ['d4'];
elseif datasel ==5 
   dataselstr = ['d5'];  
end


%  mprior
lprior = ['psv' num2str(mprior)];


% output directories: based on model/prior specification
mpspec  = [dataselstr lprior ];

fnames_.priorfile = ['./prior/' mpspec '.txt'];
path_.root   = ['./' mpspec '/'];
path_.para   = [path_.root 'para/'];
path_.post   = [path_.root 'post/'];
path_.like   = [path_.root 'like/'];
path_.result = [path_.root 'result/'];
path_.likcut = ['./likcut/' mpspec '/'];
